home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Demos / Bowers Development / AppMaker 2.0b5 / Examples / PowerPlant / OOFILE / CAboutDialog.h < prev    next >
Encoding:
Text File  |  1995-09-30  |  1.0 KB  |  48 lines  |  [TEXT/MMCC]

  1. // CAboutDialog.h -- dialog class
  2. // Created 01/01/95 12:01 PM by AppMaker
  3.  
  4. #pragma once
  5.  
  6. #include <LDialogBox.h>
  7. #define cmd_AboutDialog        'Abog'
  8.  
  9. class    LStream;
  10.  
  11. class    LStdButton;
  12.  
  13.  
  14.  
  15. //----------
  16. class    CAboutDialog :    public LDialogBox {
  17. public:    // these comprise the programming interface for using the dialog
  18. static    CAboutDialog*        CreateAboutDialog        (LCommander        *inSuperCommander);
  19.  
  20.  
  21. public:    // these comprise the implementation
  22.     static    CAboutDialog*    CreateAboutDialogStream    (LStream    *inStream);
  23.  
  24.                         CAboutDialog();
  25.                         CAboutDialog        (LStream    *inStream);
  26.     virtual                ~CAboutDialog();
  27.  
  28.  
  29.     virtual void        ListenToMessage        (MessageT    inMessage,
  30.                                              void        *ioParam);
  31.  
  32.     virtual Boolean        ObeyCommand            (CommandT    inCommand,
  33.                                              void        *ioParam = nil);
  34.     virtual void        FindCommandStatus    (CommandT    inCommand,
  35.                                              Boolean    &outEnabled,
  36.                                              Boolean    &outUsesMark,
  37.                                              Char16        &outMark,
  38.                                              Str255        outName);
  39.     virtual Boolean        FocusDraw();
  40.  
  41. protected:
  42.     virtual void        FinishCreateSelf();
  43.  
  44.     protected:
  45.         LStdButton            *mOKButton;
  46.  
  47.     };
  48.